<?php

// AudioShout 0.1.0 Alpha

// Bootstrap script

// Configure error reporting. Uncomment only if debugging, as doing so will cause all errors to be displayed on-screen.
// ini_set('error_reporting', E_ALL-E_NOTICE);
// ini_set('display_errors', 1);

// Check to see if configuration file exists, if not assume the application needs to be installed.
if (!file_exists("inc/settings.php"))
{
header("Location: install/index.php");
}

// Load general site settings including database information, site paths and URLs, etc. Modify this file if you wish to change any site-related environment variables.
require_once("settings.php");

// Load multi-server environment variables and functions. Only modify this file if you plan to configure AudioShout to manage uploads over multiple nodes.
require_once("multiserver.php");

// Load just about everything else required by the application. This file should be modified by advanced users only. Improper modification could result in unexpected behavior.
require_once("functions.php");

?>